FROM registry.yuyou100.com/java:8u171

LABEL MAINTAINER=wens

WORKDIR /home

ADD target/activity-comm-api-1.0-SNAPSHOT.jar /home

ENV JAVA_OPT="-Xms256m -Xmx256m"
ENV PROFLES=test

ENTRYPOINT [ "sh", "-c", "java ${JAVA_OPT} -jar activity-comm-api-1.0-SNAPSHOT.jar --spring.profiles.active=${PROFLES}" ]

